package com.nut.course.enums;

import lombok.Getter;

@Getter
public enum ResultEnum {

    SUCCESS(1, "成功"),
    FAIL(2, "失败");

    private Integer value;
    private String name;

    ResultEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }
}
